<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Class bmqa::MessageEvent</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqa.html">bmqa</a>      </li>
      <li><a class="el" href="classbmqa_1_1MessageEvent.html">bmqa::MessageEvent</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqa::MessageEvent Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqa::MessageEvent" -->
<p><code>#include &lt;<a class="el" href="bmqa__messageevent_8h_source.html">bmqa_messageevent.h</a>&gt;</code></p>

<p><a href="classbmqa_1_1MessageEvent-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#ad2a2b10111d77c71922b9a9cbaf6cf67">MessageEvent</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#a9bb825564984f157cbfd625fe8cb1582">MessageEvent</a> (const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;other)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#a8d648e1c0d0dbef2777b4f88a33dbf23">operator=</a> (const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;rhs)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbmqa_1_1MessageIterator.html">MessageIterator</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#a8f84cae9fe454bf5174116e090b79a06">messageIterator</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structbmqt_1_1MessageEventType.html#ab39efa27453f43916b27597953b3f34d">bmqt::MessageEventType::Enum</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#a8a76bb712e1d9c67cfad2b0b0b1462bd">type</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bsl::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbmqa_1_1MessageEvent.html#a2c0d8e401370485ceeef0e7586dbbc50">print</a> (bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const </td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>An event containing messages received from a queue. The application can consume messages using the message iterator.</p>
<p>See <a class="el" href="group__bmqa__messageevent.html">Component bmqa_messageevent</a> </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ad2a2b10111d77c71922b9a9cbaf6cf67"></a><!-- doxytag: member="bmqa::MessageEvent::MessageEvent" ref="ad2a2b10111d77c71922b9a9cbaf6cf67" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqa::MessageEvent::MessageEvent </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [explicit]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Create an unset instance. Note that <code><a class="el" href="classbmqa_1_1MessageEvent.html#a8a76bb712e1d9c67cfad2b0b0b1462bd">type()</a></code> will return <code>bmqt::MessageEventType::UNDEFINED</code>. </p>

</div>
</div>
<a class="anchor" id="a9bb825564984f157cbfd625fe8cb1582"></a><!-- doxytag: member="bmqa::MessageEvent::MessageEvent" ref="a9bb825564984f157cbfd625fe8cb1582" args="(const MessageEvent &amp;other)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bmqa::MessageEvent::MessageEvent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8d648e1c0d0dbef2777b4f88a33dbf23"></a><!-- doxytag: member="bmqa::MessageEvent::operator=" ref="a8d648e1c0d0dbef2777b4f88a33dbf23" args="(const MessageEvent &amp;rhs)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a>&amp; bmqa::MessageEvent::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rhs</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8f84cae9fe454bf5174116e090b79a06"></a><!-- doxytag: member="bmqa::MessageEvent::messageIterator" ref="a8f84cae9fe454bf5174116e090b79a06" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbmqa_1_1MessageIterator.html">MessageIterator</a> bmqa::MessageEvent::messageIterator </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return a <code><a class="el" href="classbmqa_1_1MessageIterator.html">MessageIterator</a></code> object usable for iterating over the <code><a class="el" href="classbmqa_1_1Message.html">Message</a></code> objects contained in this <code><a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a></code>. Note that obtaining an iterator invalidates (resets) any previously obtained iterator. The behavior is undefined if <code><a class="el" href="classbmqa_1_1MessageEvent.html#a8a76bb712e1d9c67cfad2b0b0b1462bd">type()</a></code> returns <code>bmqt::MessageEventType::UNDEFINED</code>. </p>

</div>
</div>
<a class="anchor" id="a8a76bb712e1d9c67cfad2b0b0b1462bd"></a><!-- doxytag: member="bmqa::MessageEvent::type" ref="a8a76bb712e1d9c67cfad2b0b0b1462bd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structbmqt_1_1MessageEventType.html#ab39efa27453f43916b27597953b3f34d">bmqt::MessageEventType::Enum</a> bmqa::MessageEvent::type </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the type of messages contained in this <a class="el" href="classbmqa_1_1MessageEvent.html">MessageEvent</a>. </p>

</div>
</div>
<a class="anchor" id="a2c0d8e401370485ceeef0e7586dbbc50"></a><!-- doxytag: member="bmqa::MessageEvent::print" ref="a2c0d8e401370485ceeef0e7586dbbc50" args="(bsl::ostream &amp;stream, int level=0, int spacesPerLevel=4) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bsl::ostream&amp; bmqa::MessageEvent::print </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>spacesPerLevel</em> = <code>4</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Format this object to the specified output <code>stream</code> at the (absolute value of) the optionally specified indentation <code>level</code> and return a reference to <code>stream</code>. If <code>level</code> is specified, optionally specify <code>spacesPerLevel</code>, the number of spaces per indentation level for this and all of its nested objects. If <code>level</code> is negative, suppress indentation of the first line. If <code>spacesPerLevel</code> is negative format the entire output on one line, suppressing all but the initial indentation (as governed by <code>level</code>). If <code>stream</code> is not valid on entry, this operation has no effect. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="bmqa__messageevent_8h_source.html">bmqa_messageevent.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
